package learningThread.syn.synchronizedMethodLockObj.communicate.joinException;

public class ThreadC extends Thread {

    private ThreadB threadb;

    public ThreadC(ThreadB threadb) {
        this.threadb = threadb;
    }

    @Override
    public void run() {
        threadb.interrupt();
    }
}
